<?php
declare(strict_types=1);

namespace app\model;

use think\Model;

class WorkChatRecord extends Model
{
    protected $name = 'work_chat_record';
    
    // 关联群成员
    public function members()
    {
        return $this->hasMany(WorkChatMember::class, 'chat_id', 'chat_id');
    }
} 